Sending and Receiving SOAP Messages using Simple Client |
|
Before you begin this task:
You must have the role of a developer to perform this task.
The Simple Client enables you to send and receive SOAP Messages. The tool offers a feature to compose and edit the outgoing SOAP message that is to be sent to a specific back end.
Note: An anonymous client is a socket on the client computer, taken from the available free sockets. Such clients are not registered with the LDAP.
- Click Start > Programs > Process Platform > <Instance Name> > Tools > Simple Client. The Process Platform Simple Client window appears.
- Do any of the following:
Option
Task
To send a SOAP message as an anonymous client
1.In the Connection pane, select the Use Anonymous option and click the Open button. The Service Groups are displayed in the Select Operation pane.
2.Go to <Service Group> > <Web Service interface> and select the <Web service> for which the SOAP Message has to be sent.
3.Select the required configuration options.4. Click the Compose button.To send a SOAP message for one of the services in LDAP
1.In the Connection pane, select the Set option.
2.Click the Browse button. The list of available services in the LDAP are displayed in the Service Groups Listed in LDAP dialog box.
3.Select the required service from the given list and click Ok.
4.Click the Open button. The corresponding Service Groups are displayed in the Select Operation pane.
5.Go to <Service Group> > <Web Service interface> and select the <Web service> for which the SOAP Message has to be sent.
6.Select the required configuration options.7. Click the Compose button.The SOAP request composed for the selected method is displayed in the SOAP Request pane. This is the skeleton of the SOAP message that is to be sent.
Note: The Type Body Here has to be replaced by the body of the selected method. - Provide the other details in the Process Platform Simple Client window.
- Click the Send button to send the SOAP message. After the SOAP Request is sent, the corresponding events (including the SOAP response) are listed in a table in the Events pane.
Note:
- To sort the events, click the respective column header in the Events pane.
- To view the details of any event, double-click its entry in the table. A new dialog box appears, displaying the details. Click < and > buttons to browse through the events populated in the table. Click Close to close this window.
- To copy the SOAP Message to the clipboard, right-click the text area and select the Copy to ClipBoard option on the context menu. If the user selects a part of text and uses this option, only the selected text is copied to the system clipboard. Alternatively, if the user chooses this option without selecting any text, then the entire SOAP message is copied to the system clipboard.
- To clear the events in the Events pane, click the Clear button .
- If the changes made to the LDAP entries after the Simple Client is started are not reflected in the Simple Client window, click the Refresh button in the Select Operation pane to reload the entries from the LDAP.
- To clear all the content on the screen, click the Reset button in the Connection pane.
- Before sending the request, the tool checks whether the message is well-formatted. If not, an error message is displayed indicating the anomaly.